package com.java2207.group1.mapper;

import com.java2207.group1.pojo.Site;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SiteMapper {
    List<Site> selectByParams(Map<String, Object> params);

    int addSite(Site site);

    int deleteSite(int id);

    int updateSite(Site site);

    int batchSite(@Param("ids") String[] arr);
}
